<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>ResultDTO</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/google-code-prettify@1.0.5/bin/prettify.min.css">
<link href="../style.css" rel="stylesheet" />
</head>
<body onload="PR.prettyPrint()">
<pre class="prettyprint lang-java">
public class ResultDTO implements Serializable{

    private boolean success; //
    private SysMenu[] data; //
    private int code; //
    private String message; //

    public boolean getSuccess(){
        return success;
    }

    public void setSuccess(boolean success){
        this.success = success;
    }

    public SysMenu[] getData(){
        return data;
    }

    public void setData(SysMenu[] data){
        this.data = data;
    }

    public int getCode(){
        return code;
    }

    public void setCode(int code){
        this.code = code;
    }

    public String getMessage(){
        return message;
    }

    public void setMessage(String message){
        this.message = message;
    }

}
</pre>


<pre class="prettyprint lang-java">
public class SysMenu implements Serializable{

    private String title; //标题
    private boolean expand; //是否展开直子节点
    private boolean disabled; //禁掉响应
    private boolean disableCheckbox; //禁掉 checkbox
    private boolean selected; //是否选中子节点
    private boolean checked; //是否勾选(如果勾选，子节点也会全部勾选)
    private boolean leaf; //
    private boolean open; //ztree属性
    private Object[] list; //
    private Object[] children; //子节点属性数组
    private String value; //
    private String label; //
    private int id; //id
    private int pid; //父菜单ID，一级菜单为0
    private String name; //菜单名称
    private String url; //菜单URL
    private String perms; //授权(多个用逗号分隔，如：user:list,user:create)
    private int type; //类型   0：目录   1：菜单   2：按钮
    private String icon; //菜单图标
    private int status; //状态   0：无效   1：有效
    private String createuser; //创建者ID
    private String createtime; //创建时间
    private String updateuser; //更新者ID
    private String updatetime; //最后修改时间

    public String getTitle(){
        return title;
    }

    public void setTitle(String title){
        this.title = title;
    }

    public boolean getExpand(){
        return expand;
    }

    public void setExpand(boolean expand){
        this.expand = expand;
    }

    public boolean getDisabled(){
        return disabled;
    }

    public void setDisabled(boolean disabled){
        this.disabled = disabled;
    }

    public boolean getDisableCheckbox(){
        return disableCheckbox;
    }

    public void setDisableCheckbox(boolean disableCheckbox){
        this.disableCheckbox = disableCheckbox;
    }

    public boolean getSelected(){
        return selected;
    }

    public void setSelected(boolean selected){
        this.selected = selected;
    }

    public boolean getChecked(){
        return checked;
    }

    public void setChecked(boolean checked){
        this.checked = checked;
    }

    public boolean getLeaf(){
        return leaf;
    }

    public void setLeaf(boolean leaf){
        this.leaf = leaf;
    }

    public boolean getOpen(){
        return open;
    }

    public void setOpen(boolean open){
        this.open = open;
    }

    public Object[] getList(){
        return list;
    }

    public void setList(Object[] list){
        this.list = list;
    }

    public Object[] getChildren(){
        return children;
    }

    public void setChildren(Object[] children){
        this.children = children;
    }

    public String getValue(){
        return value;
    }

    public void setValue(String value){
        this.value = value;
    }

    public String getLabel(){
        return label;
    }

    public void setLabel(String label){
        this.label = label;
    }

    public int getId(){
        return id;
    }

    public void setId(int id){
        this.id = id;
    }

    public int getPid(){
        return pid;
    }

    public void setPid(int pid){
        this.pid = pid;
    }

    public String getName(){
        return name;
    }

    public void setName(String name){
        this.name = name;
    }

    public String getUrl(){
        return url;
    }

    public void setUrl(String url){
        this.url = url;
    }

    public String getPerms(){
        return perms;
    }

    public void setPerms(String perms){
        this.perms = perms;
    }

    public int getType(){
        return type;
    }

    public void setType(int type){
        this.type = type;
    }

    public String getIcon(){
        return icon;
    }

    public void setIcon(String icon){
        this.icon = icon;
    }

    public int getStatus(){
        return status;
    }

    public void setStatus(int status){
        this.status = status;
    }

    public String getCreateuser(){
        return createuser;
    }

    public void setCreateuser(String createuser){
        this.createuser = createuser;
    }

    public String getCreatetime(){
        return createtime;
    }

    public void setCreatetime(String createtime){
        this.createtime = createtime;
    }

    public String getUpdateuser(){
        return updateuser;
    }

    public void setUpdateuser(String updateuser){
        this.updateuser = updateuser;
    }

    public String getUpdatetime(){
        return updatetime;
    }

    public void setUpdatetime(String updatetime){
        this.updatetime = updatetime;
    }

}
</pre>



<script src="https://cdn.jsdelivr.net/npm/google-code-prettify@1.0.5/bin/prettify.min.js"></script>
</body>
</html>